import request from '@/utils/request'

// 查询收费员日结列表
export function listOperatorSettleRecord(query) {
  return request({
    url: '/bms/operatorSettleRecord/list',
    method: 'get',
    params: query
  })
}

// 查询收费员日结详细
export function getOperatorSettleRecord(id) {
  return request({
    url: '/bms/operatorSettleRecord/' + id,
    method: 'get'
  })
}

// 新增收费员日结
export function addOperatorSettleRecord(data) {
  return request({
    url: '/bms/operatorSettleRecord',
    method: 'post',
    data: data
  })
}

// 修改收费员日结
export function updateOperatorSettleRecord(data) {
  return request({
    url: '/bms/operatorSettleRecord',
    method: 'put',
    data: data
  })
}

// 删除收费员日结
export function delOperatorSettleRecord(id) {
  return request({
    url: '/bms/operatorSettleRecord/' + id,
    method: 'delete'
  })
}
